/**
 * Created by Administrator on 2017/2/18.
 */
import React, {Component, PropTypes} from 'react';
import {Header} from '../header/header';

export default class PaySuccess extends Component {
    componentDidMount() {
     $('.PaySuccessBack').click(function(){
         location.href='#/mall/myOrder'
     })
    }

    render(){
        return <div className="PaySuccess">
            <Header headerTitle="支付成功"  className="PaySuccessBack"/>
            <PaySuccessInfor />
        </div>
    }
}

export  class PaySuccessInfor extends Component {
    render(){
        return <div className="PaySuccessInfor">

            <div className="paysuccess-img">
                <div className="img">

                </div>
            </div>
            <div className="paysuccess-ok">支付成功</div>
            <div className="paysuccess-tip">你可以在我的订单查看订单详情</div>
            <div className="paysuccess-btn"><a href="#/mall/myOrder">返回订单列表</a></div>
        </div>
    }
}